home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / DTML-CALL.STX < prev    next >
Encoding:
Text File  |  2000-10-12  |  747 b   |  36 lines

  1. call: Call a method
  2.  
  3.     The 'call' tag lets you call a method without inserting the results
  4.     into the DTML output.
  5.  
  6.   Syntax
  7.  
  8.     'call' tag syntax::
  9.  
  10.       <dtml-call Variable|expr="Expression">
  11.  
  12.     If the call tag uses a variable, the methods arguments are passed
  13.     automatically by DTML just as with the 'var' tag. If the method is
  14.     specified in a expression, then you must pass the arguments yourself.
  15.  
  16.   Examples
  17.  
  18.     Calling by variable name::
  19.  
  20.       <dtml-call UpdateInfo>
  21.  
  22.     This calls the 'UpdateInfo' object automatically passing arguments.
  23.  
  24.     Calling by expression::
  25.  
  26.       <dtml-call expr="RESPONSE.setHeader('content-type', 'text/plain')">
  27.  
  28.   See Also
  29.  
  30.     "var tag":dtml-var.stx
  31.  
  32.  
  33.  
  34.  
  35.  
  36.